package com.zzyy.receive.notify.api;

import com.zzyy.receive.notify.entity.AccountRecharge;
import org.springframework.stereotype.Component;

/**
 * @auther zzyy
 * @create 2023-03-26 15:13
 */
@Component
public class RechargeFallback implements RechargeClient
{
    @Override
    public AccountRecharge rechargeresult(String txNo)
    {
        return new AccountRecharge(txNo,"1",0,"服务降级，没有对应记录或超时");
    }
}
